package behavior.strategy;

/**
 * 行为策略上下文
 */
public class ActionStrategyContext {
    private ActionStrategy actionStrategy;
    public void setActionStrategy(ActionStrategy actionStrategy) {
        this.actionStrategy = actionStrategy;
    }
    public void action() {
        actionStrategy.action();
    }
}
